package com.mengma.ec.service.portal;

import com.github.pagehelper.PageInfo;
import com.mengma.ec.commons.ServerResponse;
import com.mengma.ec.entity.Product;

import javax.servlet.http.HttpSession; /**
 * @Auther: xixi
 * @Date: 2018/9/19 09:29
 * @Description:
 */
public interface IProductService  {

    ServerResponse saveOrUpdata(Product product);

    ServerResponse FindAllListData(Integer pageNum, Integer pageSize, HttpSession session);

    ServerResponse<PageInfo> search(String productName, Integer productId, Integer pageNum, Integer pageSize, HttpSession session);
}
